package com.xiaoxi.open.design.structural.adapterpattern.recharger.adapter;

import com.xiaoxi.open.design.structural.adapterpattern.recharger.adaptee.LightningAdaptee;
import com.xiaoxi.open.design.structural.adapterpattern.recharger.connector.TypeCConnector;
import org.springframework.stereotype.Service;

/**
 * @Author xiaoxi
 * @ProjectName creation_pattern
 * @PackageName com.xiaoxi.open.design.structural.adapterpattern.recharger.adapter
 * @ClassName TypeCAdapter
 * @Description TODO
 * @Date 2024/5/24 17:11
 * @Version 1.0
 */
@Service
public class TypeCAdapter extends LightningAdaptee implements TypeCConnector {

    @Override
    public void typeCRecharger() {
        System.out.println("---------------type C 转 lightning 接口~适配器开始工作-------------------");
        super.specificRecharger();
    }

}
